Lock down TIOCSSERIAL
authorDavid Howells <dhowells@redhat.com>
Mon, 18 Feb 2019 12:45:00 +0000 (12:45 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 19 Nov 2019 01:43:33 +0000 (01:43 +0000)
commitedf5ab7fb1ecd636bffebadf63a9fcd94492b0c5
tree025ede571b3e9d7ef45ba3c48a8cbc70f332142d
parent36cc830170a8111af5f9070db2882300eeaa6adf
Lock down TIOCSSERIAL

Lock down TIOCSSERIAL as that can be used to change the ioport and irq
settings on a serial port.  This only appears to be an issue for the serial
drivers that use the core serial code.  All other drivers seem to either
ignore attempts to change port/irq or give an error.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jiri Slaby <jslaby@suse.com>

Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0020-Lock-down-TIOCSSERIAL.patch
drivers/tty/serial/serial_core.c